@extends('layout.master')

@section('title', '后台管理系统')

@section('content')

    <body class="easyui-layout">

    <div class="box">

        <form id="form">

            <table border="0" cellpadding="0" cellspacing="0" width="100%">

                <tr>

                    <td style="width: 10%"><span style="color: red">*</span>角色名:</td>

                    <td style="width: 90%"><input type="text" class="mg_code" name="role_name" value=""></td>

                </tr>

                <tr>

                    <td><span style="color: red">*</span>角色代码:</td>

                    <td><input type="text" class="mg_code" name="role_code" value=""></td>

                </tr>

                <tr>

                    <td>权限菜单1:</td>

                    <td><ul class="easyui-tree" id="tt" data-options="checkbox:true"></ul></td>

                </tr>

                <tr>

                    <td>操作:</td>

                    <td>

                        <input type="button" class="easyui-linkbutton" onclick="$api.add_role()" data-options="iconCls:'icon-save'" value="提交" style="width:80px;height: 32px;">

                    </td>

                </tr>

            </table>

        </form>

    </div>

    <link rel="stylesheet" href="{{URL::asset('css/table.css')}}">

    <script>
        $api.gettree(2);
    </script>

</body>

@endsection

